<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/common/taglibs.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>管理中心</title>
	    <%@ include file="/common/meta.jsp" %>
		<link type="text/css" rel="stylesheet" href="${ctx}/css/system/general.css"/>
		<link type="text/css" rel="stylesheet" href="${ctx}/css/system/main.css"/>

		<style type="text/css">
		body {
			color: white;
		}
        </style>

		<script type="text/javascript" language="JavaScript">
		if (window.top != window)
		{
		  window.top.location.href = "<%=request.getContextPath()%>/system/login";
		}
		</script>
	</head>
	<body style="background: none repeat scroll 0% 0% rgb(39, 130, 150);">
		<form:form action="${ctx}/system/login" method="post">
			<table cellspacing="0" cellpadding="0" align="center"
				style="margin-top: 100px;">
				<tbody>
					<tr>
						<td style="padding-left: 50px;">
							<table>
								<tbody>
									<c:if test="${userNameOrpasswordIsError}">
								    <tr>
										<td>&nbsp;
										</td>
										<td>
										<span>用户名或密码错误</span>
										</td>
								    </tr>
									</c:if>
									<tr>
										<td>
											用户名：
										</td>
										<td>
											<input type='text' id='loginName' name='loginName' class="required" />
										</td>
									</tr>
									<tr>
										<td>
											密&nbsp;&nbsp;&nbsp;&nbsp;码：
										</td>
										<td>
											<input type='password' id='loginPassword' name='loginPassword' class="required"/>
										</td>
									</tr>
									<tr>
										<td>&nbsp;
										</td>
										<td>
											<input value="登录" type="submit" class="button"/>
										</td>
									</tr>
								</tbody>
							</table>
						</td>
					</tr>
				</tbody>
			</table>
			<input type="hidden" value="signin" name="act"/>
		</form:form>
	</body>
</html>